package com.liuf.druid.service.impl;

import com.liuf.druid.repository.ITestRepository;
import com.liuf.druid.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @program: spring-cloud-liuf-master
 * @description: 测试mybatis是否正常
 * @author: Mr.Liu
 * @create: 2018-08-29 17:33
 * @码云： https://gitee.com/www.jiandan.com
 **/
@Service
public class TestServiceImpl implements ITestService {

    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private ITestRepository testRepository;

    @Override
    public List<Map<String, Object>> findTest() {
        return testRepository.findTest();
    }
}
